package com.twu.biblioteca;

class Rating {

    String value;

    public Rating(){
        value = "unrated";
    }

    public Rating(int intValue){
        if (1 <= intValue && intValue <= 10){
            value = Integer.toString(intValue);
        } else {
            value = "unrated";
        }
    }

}
